//C11:ep11_3.c: point to struct -2.
#include <stdio.h>
#include <string.h>
struct student_st
{
    long num;
    char name[20];
    char sex;
    float score;
};

int main() {
   struct student_st stu1;
   struct student_st *p;
   p = &stu1;
   stu1.num = 89101;
   strcpy(stu1.name,"Li Lin");
   stu1.sex = 'M';
   stu1.score = 89.5;
   printf("No.:%ld\nname:%s\nsex:%c\nscore:%f\n",stu1.num,stu1.name,stu1.sex,
        stu1.score);
   printf("No.:%ld\nname:%s\nsex:%c\nscore:%f\n",(*p).num,(*p).name,(*p).sex,
        (*p).score);        
    
    printf("\nhello\n");
}